SQLfast scripts of Case studies "Conways Game of Life"
-------------------------------------------------------

The directory comprises four sets of files:
- The Life Game application ("LifeGame-MAIN.sql" and "_LIFE-xxxx.sql")
- Sample popular cellular automata - or 'Game of life' - ("Create-LIFEGAME-xxxxx.sql")
- Compiled versions of these automata ("LIFEGAME-xxxxx.draw") (optional, created by the application)
- A prototype of cellular automaton compiler written in Python.
  It has been used to compare execution times. 

To start, execute main script "LifeGame-MAIN.sql".

This script will call:
  - _LIFE-Generate-Script.sql:        Select a game, compile it and/or play it. Will call:
    - _LIFE-create-Database.sql:          Create the database and its tables.
    - _LIFE-create-World.sql:             Create the empty cells of a world.
    - _Create-LIFEGAME-$game$.sql:        Initialize the database with the data of a game.
    - _LIFE-Compute-History.sql           Compile the current game. Will call:
       - _LIFE-Generate-Grid.sql:            Write the SQLdraw commands that draw the grid.
       - _LIFE-Compute-Next-Step.sql:        Compute the next state of the automaton.
       - _LIFE-Generate-Current-State.sql:   Write the SQLdraw commands that draw the current state.
